python will auto convert '\r\n' to '\n' when you read file to variable, and vice versa. But if you write back to file with "binary mode", then python will ... ... <看更多>
If you'd prefer to use the Python Console in ArcGIS, you can modify the above to ... Replace "Assets\Welds" with the appropriate fc name and replace row. ... <看更多>
But Python has secretly translated the \r\n in the file to \n ! ... Then Vim will replace the platform-dependent newline characters with a ... ... <看更多>